home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / usr / share / doc / libvolume-id0 / README < prev   
Text File  |  2008-06-12  |  3KB  |  80 lines

  1. vol_id - probe filesystem and read label and uuid
  2.  
  3. This program is normally called from a udev rule, to provide udev with the
  4. filesystem type of a volume and the label and uuid to name a device node.
  5. vol_id opens the blockdevice node specified at the commandline. The following
  6. commandline switches are supported to specify what vol_id should print:
  7.   --export        export key/value pairs
  8.   --type          filesystem type
  9.   --label         filesystem label
  10.   --label-raw     raw label
  11.   --uuid          filesystem uuid
  12.   --skip-raid     don't probe for raid
  13.   --probe-all     find possibly conflicting signatures
  14.   --help
  15.  
  16. vol_id will only return successful if the string asked for, is not
  17. empty. All trailing whitespace will be removed, spaces replaced by underscore
  18. and slashes ignored.
  19.  
  20. fstype                 probe  label  uuid  version
  21. --------------------------------------------------
  22. linux swap             *      *      *     *
  23. ext                    *      *      *     *
  24. reiserfs jr/3.5/3.6/4  *      *      *     *
  25. fat (12, 16, 32)       *      *      *     *
  26. ntfs                   *      *      *     *
  27. jfs                    *      *      *     -
  28. xfs                    *      *      *     -
  29. hfs (plus, wrapped)    *      *      *     -
  30. udf                    *      *      -     -
  31. iso9660                *      *      -     -
  32. ufs                    *      -      -     -
  33. cramfs                 *      *      -     -
  34. sysv                   *      *      -     *
  35. luks                   *      -      *     -
  36. hpfs                   *      -      -     -
  37. romfs                  *      *      -     -
  38. squashfs               *      -      -     -
  39. minix                  *      -      -     *
  40. ocfs (1, 2)            *      *      *     *
  41. vxfs                   *      -      -     *
  42. nss (netware)          *             *     *
  43. gfs, gfs2              *      *      -     -
  44. oracleasm              *      *      -     -
  45.  
  46. Raid members are detected to prevent the probing for a filesystem
  47. -----------------------------------------------------------------
  48. linux raid (md)        *      *      *     *
  49. LVM 1                  *      -      -     -
  50. LVM 2                  *      -      -     *
  51. ddf                    *      -      *     *
  52. highpoint              *      -      -     -
  53. isw_raid               *      -      -     -
  54. lsi_raid               *      -      -     -
  55. nvidia_raid            *      -      -     -
  56. promise_raid           *      -      -     -
  57. silicon_raid           *      -      -     -
  58. via_raid               *      -      -     -
  59. jmicron                *      -      -     -
  60. adaptec                *      -      -     -
  61.  
  62. To give it a try, you may call it on the commandline:
  63.   $ extras/volume_id/vol_id --export /dev/sda6
  64.   ID_FS_USAGE=filesystem
  65.   ID_FS_TYPE=ext3
  66.   ID_FS_VERSION=1.0
  67.   ID_FS_UUID=3e999973-00c9-4917-9442-b7633bd95b9e
  68.   ID_FS_LABEL=devel
  69.   ID_FS_LABEL_SAFE=devel
  70.  
  71.   $ extras/volume_id/vol_id --label /dev/sda6
  72.   devel
  73.  
  74.   $ extras/volume_id/vol_id --type /dev/sda6
  75.   ext3
  76.  
  77.  
  78. Any comment/questions/concerns to me:
  79.   Kay Sievers <kay.sievers@vrfy.org>
  80.